package com.syl.service;

import com.syl.entity.User;

import java.util.List;

public interface UserService {
    User login(String username,String pwd);

    User check(String username);

    boolean register(User user);

    List<User> getAllUser();

    boolean delectUser(int id);
}
